function [adata_list]=list_adata_files(adata_dir)
% finds the adata file corresponding to ExpID in the folder adata_dir
% adata_dir='N:\AnalyzedData\pawel\';
cnt=0;
adata_list={};
animals=dir(adata_dir);
for ind=3:length(animals)
    curr_days=dir([adata_dir '\' animals(ind).name]);
    for knd=3:length(curr_days)
        curr_files=dir([adata_dir '\' animals(ind).name '\' curr_days(knd).name '\*Adata*']);
        for mnd=1:length(curr_files)
            cnt=cnt+1;
            adata_list{cnt}=curr_files(mnd).name(max(strfind(curr_files(1).name,'-'))+1:end-4);
        end
    end
end
